<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Wordpress Themes  </title>
    <%= stylesheet_link_tag '/stylesheets/theme/style.css', "will_paginate", "scaffold", :media => "all" %>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://test.wpthemesfree.com/?feed=rss2" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="http://test.wpthemesfree.com/?feed=rss" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://test.wpthemesfree.com/?feed=atom" />
    <link rel="pingback" href="http://test.wpthemesfree.com/xmlrpc.php" />
    
    <link rel='archives' title='October 2005' href='http://test.wpthemesfree.com/?m=200510' />
    
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://test.wpthemesfree.com/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://test.wpthemesfree.com/wp-includes/wlwmanifest.xml" /> 
  </head>
  <body>
    <div id="container">
      
      <div class="top-menu">
        <ul>
          <li><h1><%= link_to @blog.title, {:action => "index", :id => nil} %></h1></li>
          <li><%= @blog.subtitle %></li>
        </ul>
      </div>
      
      
      <div id="page">
        
        <div class="narrowcolumn">
          
          
          <%= yield :layout %>
          
          
          <div class="browse"></div>
          
          
          
        </div>
        
        <div id="sidebar">
          <ul>
            
            <li><h2>About Me</h2>
              <%= @blog.about %>
            </li>
            
			<li><p><br/></p></li>
            
            <li><h2>Search</h2>
              <ul>
                <li id="search"><form method="get" id="searchform" action="http://test.wpthemesfree.com/">
                    <input type="text" value="" name="s" id="s" size="15" />
                    <input type="submit" id="searchsubmit" value="Search" />
                </form></li>
              </ul>
            </li>
            
			
			
            <li>
            <h2>Tag Cloud</h2>
            <div id="tag">
              <% tag_cloud @blog.entries.tag_counts, %w(css1 css2 css3 css4) do |tag, css_class| %>                 
                <%= link_to tag.name, { :action => "tag", :id => tag.name }, :class => css_class %>               
              <% end %>      
            </div>       
          </li>
          
		  <li><p></p></li>
		  
		  
          <li>
            <h2>Latest</h2>
            <ul>
              <% for entry in @blog.latest_entries(@blog.recent_entries) %>                   
                <li><%= link_to entry.title, {:action => :show, :id => entry.id } %></li>                 
              <% end %> 
            </ul>
          </li>
          
          <li>
            <h2>Comment</h2>
            <ul>
              <% for comment in @blog.latest_comments(@blog.recent_comments) %>         
                <li><%= link_to comment.name, comment.website %> on <%= link_to truncate(comment.commentable.title, 30, "..."), {:action => :show, :id => comment.commentable_id, :anchor => "comment-#{comment.id}"} %></li>
              <% end %>
            </ul>
          </li>
            
            <li><h2>Categories</h2>
              <ul>
                <% for category in @blog.categories %>
                  <li><%= link_to "#{category.name} (#{category.entries_count})", {:action => "category", :id => category.id} %></li>
                <% end %>
                
              </ul>
            </li>
            
            <li><h2>Archives</h2>
              <ul>
                <% for entry in @blog.latest_archive_links %>                   
                  <li><%= link_to "#{entry[:year]}/#{entry[:month]}", {:action => :archive, :year => entry[:year], :month => entry[:month]} %></li>                 
                <% end %>
              </ul>
            </li>
            
            <li id="linkcat-2" class="linkcat"><h2>Blogroll</h2>
              <ul>
                <% for link in @blog.links %>   
                  <li><%= link_to link.name, link.url %></li>
                <% end %>
                
              </ul>
            </li>
            
            <li><h2>Meta</h2>
              <ul>
                <li><%= link_to "Login", {:controller => :user, :action => :login} %></li>
                <li><%= link_to 'Entries <abbr title="Really Simple Syndication">RSS</abbr>', {:action => :feed}, {:title => "Syndicate this site using RSS 2.0", :class => "feed"} %></li>
                <li><%= link_to 'Comments <abbr title="Really Simple Syndication">RSS</abbr>', {:action => :comment_feed}, {:title => "Syndicate this site using RSS 2.0"} %></li>
              </ul>
            </li>
            
            
          </ul>
        </div>	<div id="footer">
          <p>Theme designed by <a href="http://www.jefflilly.com/hotrods/" title="Hot Rod Shop">Hot Rod Shop</a><br />Coder <a href="http://www.proksee.net/" title="Proxy Websites" >Proxy Websites</a> | Presented by <a href="http://www.drwords.com/" title="Dr Words" >Dr Words</a></p>
        </div>
        
      </div>
    </div>
  </body>
</html>
